package com.project.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.sql.Timestamp;


/**
 * 司机：(BusDriver)表实体类
 */
@TableName("`bus_driver`")
@Data
@EqualsAndHashCode(callSuper = false)
public class BusDriver implements Serializable {

    // TourGuide编号
    @TableId(value = "bus_driver_id", type = IdType.AUTO)
    private Integer busDriverId;

    // 分类名称
    @TableField(value = "`driver_name`")
    private String driverName;

    // 更新时间
    @TableField(value = "update_time")
    private Timestamp updateTime;

    // 创建时间
    @TableField(value = "create_time")
    private Timestamp createTime;

}
